﻿using Model.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace Blog.Core3.Model.VeiwModels
{
    /// <summary>
    ///  博客文章DTO
    /// </summary>
    public class BlogViewModels
    { 
            /// <summary>
            /// Desc:主建,自增
            /// Default:
            /// Nullable:False
            /// </summary> 
            public int ID { get; set; }


            /// <summary>
            /// Desc:博客标题
            /// Default:
            /// Nullable:False
            /// </summary> 
            public string ArticleTitle { get; set; }

            /// <summary>
            /// Desc:文章摘要
            /// Default:
            /// Nullable:True
            /// </summary>
            public string ArticleAbstract { get; set; }


            /// <summary>
            /// Desc:用户账户
            /// Default:
            /// Nullable:False
            /// </summary>
            public string UserAccount { get; set; }


            /// <summary>
            /// Desc:文章创建时间
            /// Default:
            /// Nullable:False
            /// </summary>
            public int ArticleCreateDate { get; set; }


            /// <summary>
            /// Desc:文章内容
            /// Default:
            /// Nullable:False
            /// </summary>
            public string ArticleBody { get; set; }


            /// <summary>
            /// Desc:文章标签,关联文章标签表
            /// Default:
            /// Nullable:True
            /// </summary>
            public int? ArticleLabel { get; set; }


            /// <summary>
            /// Desc:比如文章,点赞,浏览
            /// Default:
            /// Nullable:False
            /// </summary>
            public int ArticleSubsidiary { get; set; }
             

        /// <summary>
        /// Desc:文章是否发布,默认1发布,0不发布
        /// Default:1
        /// Nullable:False
        /// </summary>
        public int ArticleIsRelease { get; set; }


            /// <summary>
            /// Desc:文章是否删除,默认否0,1为删除
            /// Default:0
            /// Nullable:False
            /// </summary> 
            public int ArticleIsDelete { get; set; }


            /// <summary>
            /// Desc:文章ID
            /// Default:
            /// Nullable:False
            /// </summary> 
            public string ArticleID { get; set; }



            /// <summary>
            /// 上一页
            /// </summary>
            public string Prev { get; set; }

            /// <summary>
            /// 上一页 文章标题
            /// </summary>
            public string PrevTitie { get; set; }

         
            /// <summary>
            /// 下一页
            /// </summary>
            public string Next { get; set; }
            /// <summary>
            /// 下一页 文章标题
            /// </summary>
            public string NextTitie { get; set; }

          


          
        }
   
}
